package com.example.supermarketwrok.repository;

import com.example.supermarketwrok.model.Supermarket;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SupermarketRepository extends JpaRepository<Supermarket, Long> {
    List<Supermarket> findAllByGoodsName(String goodsNames);
}
